//
//  UIViewController+Navigation.h
//  YJJ0
//
//  Created by dadaxueche on 16/6/21.
//  Copyright © 2016年 王—wagn. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (Navigation)

-(void)setYJJLeftButton;

-(void)disableYJJLeftButton;

-(void)enableYJJLeftButton;

-(void)disableTitleRightButton;

-(void)enableTitleRightButton;

-(void)hideTopRightButton;

-(void)setLeftButtonImage:(UIImage *)image action:(SEL)action;

-(void)setRightButtonImage:(UIImage *)image target:(id)target action:(SEL)action;

-(void)setLeftButtonTitle:(NSString *)title font:(UIFont *)font action:(SEL)action;

-(void)setRightButtonTitle:(NSString *)title font:(UIFont *)font action:(SEL)action;

-(void)setBackButton:(NSString *)backTitle font:(UIFont *)font;

-(void)setNaviTitleView:(UIView *)view;

-(void)returnToPreviousPage;

-(void)replaceLeftButtonImage:(UIImage *)image;

-(void)replaceRightButtonImage:(UIImage *)image;

-(void)setRightSecondButtonImage:(UIImage *)image action:(SEL)action;



@end
